﻿<%@ Page Language="C#" MasterPageFile="~/JOINT/MstPage_JOINT.master" AutoEventWireup="true"
    ValidateRequest="false" CodeFile="frmJ_CompBasicInput.aspx.cs" Inherits="JOINT_frmJ_CompBasicInput"
    Culture="ja-JP" UICulture="ja" Title="本社情報登録" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    本社情報登録</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <link href="../Style/JsStyle.css" rel="stylesheet" type="text/css" />
    <link href="../Style/Style.css" rel="stylesheet" type="text/css" />

    <script src="../js/jquery.min.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript" src="../js/jquery.maskedinput.js"></script>

    <script language="javascript" type="text/javascript" src="../js/jquery.maxlength.js"></script>

    <script language="javascript" type="text/javascript" src="../js/Validation.js"></script>
    <script type="text/javascript" src="../js/inputmode.js"></script>

    <script src="../js/Validation.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript">

        //Check exists 年度 in database
        function CheckExists() {

            var 事業内容 = $("#ctl00_ContentPlaceHolder1_ddl_事業内容").val();
            $("#flag").val("0");
            setTimeout(function() {
                $.ajax({
                    url: "frmJ_CompBasicInput.aspx/IsCheckExist1",
                    type: "POST",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    data: "{value: '" + 事業内容 + "'}",
                    success: function(data) {
                        if (data.d == "0") {
                            document.getElementById("<%= txt_事業内容その他.ClientID %>").removeAttribute("disabled");
                            $("#flag").val("1");
                            ValidatorEnable(document.getElementById("<%= RequiredFieldValidator3.ClientID %>"), true);
                            $("#show事業内容その").attr("style", "display:block");

                        }
                        else {
                            document.getElementById("<%= txt_事業内容その他.ClientID %>").setAttribute("disabled", "disabled");
                            $("#flag").val("0");
                            ValidatorEnable2(document.getElementById("<%= RequiredFieldValidator3.ClientID %>"), false);
                            $("#show事業内容その").attr("style", "display:none");

                        }
                    }
                }), 100
            });
        }



        function FillText_1() {
            var temp = $('#<%= ddl_代表者１社員.ClientID %>').val();
            if (temp != -1)
            { temp = $('#<%= ddl_代表者１社員.ClientID %> option:selected').text(); $('#<%= txt_代表者１氏名.ClientID %>').val(temp); }
        }
        function FillText_2() {
            var temp = $('#<%= ddl_代表者2社員.ClientID %>').val();
            if (temp != -1)
            { temp = $('#<%= ddl_代表者2社員.ClientID %> option:selected').text(); $('#<%= txt_代表者２氏名.ClientID %>').val(temp); }
        }
        function FillText_3() {
            var temp = $('#<%= ddl_担当１社員ID.ClientID %>').val();
            if (temp != -1)
            { temp = $('#<%= ddl_担当１社員ID.ClientID %> option:selected').text(); $('#<%= txt_担当１氏名.ClientID %>').val(temp); }
        }
        function FillText_4() {
            var temp = $('#<%= ddl_担当２社員ID.ClientID %>').val();
            if (temp != -1)
            { temp = $('#<%= ddl_担当２社員ID.ClientID %> option:selected').text(); $('#<%= txt_担当２氏名.ClientID %>').val(temp); }
        }

        $(document).ready(function() {

            ValidatorEnable2(document.getElementById("<%= RequiredFieldValidator3.ClientID %>"), false);
            CheckExists();

            //asign maxlength for multi-line textbox
            $('#<%=txt_住所.ClientID %>').maxlength({
                events: [], // Array of events to be triggerd    
                maxCharacters: 1000, // Characters limit   
                status: false, // True to show status indicator bewlow the element    
                showAlert: false, // True to show a regular alert message    
                slider: false // True Use counter slider    
            });

            $('#<%=txt_担当１コメント.ClientID %>').maxlength({
                events: [], // Array of events to be triggerd    
                maxCharacters: 1000, // Characters limit   
                status: false, // True to show status indicator bewlow the element    
                showAlert: false, // True to show a regular alert message    
                slider: false // True Use counter slider
            });

            $('#<%=txt_担当２コメント.ClientID %>').maxlength({
                events: [], // Array of events to be triggerd    
                maxCharacters: 1000, // Characters limit   
                status: false, // True to show status indicator bewlow the element    
                showAlert: false, // True to show a regular alert message    
                slider: false // True Use counter slider
            });

            ////////////////////////////////////////////Bo sung cua THANH/////////////////////////////////////////////
            /////////////////////////////////////////////////////////////////////////////////////////////////////////
            var vl = $("#flag").val();
            if (vl == "0")
                registerEnterEvent("enter", "<%= btn_登録.ClientID %>", 20);
            else
                registerEnterEvent("enter", "<%= btn_登録.ClientID %>", 21);
            registerControlToValidation("validation");
            formatDate("css_text_calender", "/");
            formatMoney("money", ",", ".");

            if (document.getElementById("<%= ddl_事業内容.ClientID %>").value == "-1") {

                document.getElementById("<%= txt_事業内容その他.ClientID %>").setAttribute("disabled", "disabled");
            }
        });

        // kiem tra ngay thang khong duoc lon hon ngay thang hien tai.
        function validatDate2(oSrc, args)// kiem tra ngay thang hien tai.
        {
            args.IsValid = checkYearOld(args.Value, getNowDate(new Date()), 0, "<");
        }
            
    </script>

    <input type="hidden" id="flag" />
    <%--<asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="btn_登録" EventName="Click" />
        </Triggers>
    </asp:UpdatePanel>--%>
    <div class="maindiv1">
        <div id="div_Body" runat="server">
            <asp:UpdatePanel ID="up" runat="server">
            <ContentTemplate>
                <div class="Header1">
                    <span>＊: 必須</span>
                </div>
                <div>
                    &nbsp;</div>
                <div class="detail-admin-row">
                    <span class="detail-admin-label">企業名 :</span>
                    <asp:TextBox ID="txt_企業名" runat="server"  ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" MaxLength="100" CssClass="myclass enter validation textbox width4"></asp:TextBox>
                    <span class="required-field">*</span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage=""
                        Display="None" SetFocusOnError="False" ControlToValidate="txt_企業名"></asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" TargetControlID="RequiredFieldValidator1"
                        runat="server" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" Width="260px"
                        WarningIconImageUrl="../Images/warning.png">
                    </ajaxToolkit:ValidatorCalloutExtender>
                    
                    <asp:CustomValidator ID="customCheckName" runat="server" ErrorMessage="CustomValidator" 
                            Display="None" SetFocusOnError="False" 
                            ControlToValidate="txt_企業名" OnServerValidate="CheckName企業名" ></asp:CustomValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" TargetControlID="customCheckName"
                            runat="server" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" Width="260px"
                            WarningIconImageUrl="../Images/warning.png">
                    </ajaxToolkit:ValidatorCalloutExtender>
                </div>
                <div class="detail-admin-row">
                    <span class="detail-admin-label">フリガナ :</span>
                    <asp:TextBox ID="txt_企業名フリガナ" runat="server" ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" MaxLength="100" CssClass="myclass enter textbox width4" inputmode='katakana' ></asp:TextBox>
                    <span class="required-field"></span>
                </div>
                <div class="detail-admin-row">
                    <span class="detail-admin-label">省略名称 :</span>
                    <asp:TextBox ID="txt_企業名省略名称" runat="server" ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" MaxLength="100" CssClass="myclass enter textbox width4"></asp:TextBox>
                    <span class="required-field"></span>
                </div>
                <div class="detail-admin-row">
                    <span class="detail-admin-label">住所 :</span>
                    <asp:TextBox ID="txt_住所" runat="server" CssClass="textarea enter validation" ValidationGroup="detailForm"
                        TextMode="MultiLine" Font-Names="MS UI Gothic" MaxLength="1000"></asp:TextBox>
                    <span class="required-field">*</span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage=""
                        Display="None" SetFocusOnError="False" ControlToValidate="txt_住所"></asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender34" runat="server" Width="260px"
                        TargetControlID="RequiredFieldValidator2" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                        WarningIconImageUrl="../Images/warning.png">
                    </ajaxToolkit:ValidatorCalloutExtender>
                </div>
                <%--<div class="detail-admin-row">
                    <span class="detail-admin-label">ＴＥＬ :</span>
                    <asp:TextBox ID="txt_ＴＥＬ" runat="server" Width="230px" ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" MaxLength="13"></asp:TextBox>
                    <span class="required-field">*</span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage=""
                        Display="None" SetFocusOnError="False" ControlToValidate="txt_ＴＥＬ"></asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" TargetControlID="RequiredFieldValidator3"
                        runat="server" HighlightCssClass = "invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png">
                    </ajaxToolkit:ValidatorCalloutExtender>
                </div>--%>
                <div class="detail-admin-row">
                    <span class="detail-admin-label">ＴＥＬ :</span>
                    <asp:TextBox ID="txt_ＴＥＬ1" runat="server" Font-Names="MS UI Gothic" ValidationGroup="detailForm" 
                        CausesValidation="false" MaxLength="5" onkeypress="return InputNumberKeys(this, event)"
                         onpaste="return false;" 
                         CssClass="myclass enter validation textbox  width_tel" Style="ime-mode:disabled;" ></asp:TextBox>
                    <!--Set validate chon textbox txt_電話番号 -->
                    <asp:RequiredFieldValidator ID="validatetxt_ＴＥＬ1" ControlToValidate="txt_ＴＥＬ1" Display="None"
                        SetFocusOnError="False" ErrorMessage="" runat="server"> </asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="VCE電話番号" TargetControlID="validatetxt_ＴＥＬ1" Width="260px"
                        HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                        runat="server">
                    </ajaxToolkit:ValidatorCalloutExtender>
                    <asp:RegularExpressionValidator runat="server" ValidationExpression="^\d+$" ID="Regulartxt_ＴＥＬ1"
                        ControlToValidate="txt_ＴＥＬ1" ErrorMessage="" Display="None" SetFocusOnError="False"> </asp:RegularExpressionValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" TargetControlID="Regulartxt_ＴＥＬ1"
                        HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                        runat="server" Width="210px" >
                    </ajaxToolkit:ValidatorCalloutExtender>
                    
                    <span>-</span>
                    <asp:TextBox ID="txt_ＴＥＬ2" onkeypress="return InputNumberKeys(this, event)" runat="server" Font-Names="MS UI Gothic"
                        onpaste="return false;" ValidationGroup="detailForm"  CausesValidation="false"
                        MaxLength="4" CssClass="myclass enter validation textbox width_tel" Style="ime-mode:disabled;" ></asp:TextBox>
                    <asp:RequiredFieldValidator ID="validatetxt_ＴＥＬ2" ControlToValidate="txt_ＴＥＬ2" Display="None"
                        SetFocusOnError="False" ErrorMessage="" runat="server"> </asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="VCE電話番号T1" TargetControlID="validatetxt_ＴＥＬ2" Width="260px"
                        CssClass="CustomValidatorCalloutStyle" HighlightCssClass="invalid" WarningIconImageUrl="../Images/warning.png"
                        runat="server">
                    </ajaxToolkit:ValidatorCalloutExtender>
                    <asp:RegularExpressionValidator runat="server" ValidationExpression="^\d+$" ID="Regulartxt_ＴＥＬ2"
                        ControlToValidate="txt_ＴＥＬ2" ErrorMessage="" Display="none" SetFocusOnError="False"> </asp:RegularExpressionValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender37" TargetControlID="Regulartxt_ＴＥＬ2"
                        HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                        runat="server" Width="210px" >
                    </ajaxToolkit:ValidatorCalloutExtender>
                    
                    <span>-</span>
                    <asp:TextBox ID="txt_ＴＥＬ3" onkeypress="return InputNumberKeys(this, event)" runat="server" Font-Names="MS UI Gothic"
                        onpaste="return false;" ValidationGroup="detailForm"  CausesValidation="false"
                        MaxLength="4" CssClass="myclass enter validation textbox width_tel" Style="ime-mode:disabled;" ></asp:TextBox>
                    <asp:RequiredFieldValidator ID="validatetxt_ＴＥＬ3" ControlToValidate="txt_ＴＥＬ3" Display="None"
                        SetFocusOnError="False" ErrorMessage="" runat="server"> </asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="VCE電話番号T2" TargetControlID="validatetxt_ＴＥＬ3" Width="260px"
                        HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                        runat="server">
                    </ajaxToolkit:ValidatorCalloutExtender>
                    <span class="required-field">*</span>
                    <asp:RegularExpressionValidator runat="server" ValidationExpression="^\d+$" ID="Regulartxt_ＴＥＬ3"
                        ControlToValidate="txt_ＴＥＬ3" ErrorMessage="" Display="none" SetFocusOnError="False"> </asp:RegularExpressionValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender38" TargetControlID="Regulartxt_ＴＥＬ3"
                        HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                        runat="server" Width="210px" >
                    </ajaxToolkit:ValidatorCalloutExtender>
                </div>
                <div class="detail-admin-row">
                    <span class="detail-admin-label">&nbsp;</span> <span style="color: Red">06-1234-5678の形式に入力してください</span>
                </div>
                <%-- <div class="detail-admin-row">
                    <span class="detail-admin-label">FAX :</span>
                    <asp:TextBox ID="txt_FAX" runat="server" Width="230px" ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" MaxLength="13"></asp:TextBox>
                    <span class="required-field">*</span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage=""
                        SetFocusOnError="False" Display="None" ControlToValidate="txt_FAX"></asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" runat="server"
                        TargetControlID="RequiredFieldValidator4" HighlightCssClass = "invalid" CssClass="CustomValidatorCalloutStyle"
                        WarningIconImageUrl="../Images/warning.png">
                    </ajaxToolkit:ValidatorCalloutExtender>
                </div>--%>
                <div class="detail-admin-row">
                    <span class="detail-admin-label">FAX番号 :</span>
                    <asp:TextBox ID="txt_FAX1" onkeypress="return InputNumberKeys(this, event)" runat="server" Font-Names="MS UI Gothic"
                        onpaste="return false;" ValidationGroup="detailForm"  CausesValidation="false"
                        MaxLength="5" CssClass="myclass enter validation textbox width_tel" Style="ime-mode:disabled;" ></asp:TextBox>
                    <asp:RequiredFieldValidator ID="validatetxt_FAX1" ControlToValidate="txt_FAX1" Display="None"
                        SetFocusOnError="False" ErrorMessage="" runat="server"> </asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="VCEFAX番号" TargetControlID="validatetxt_FAX1" Width="260px"
                        HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                        runat="server">
                    </ajaxToolkit:ValidatorCalloutExtender>
                    <asp:RegularExpressionValidator runat="server" ValidationExpression="^\d+$" ID="Regulartxt_FAX1"
                        ControlToValidate="txt_FAX1" ErrorMessage="" Display="none" SetFocusOnError="False"> </asp:RegularExpressionValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender333" TargetControlID="Regulartxt_FAX1"
                        HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                        runat="server" Width="210px" >
                    </ajaxToolkit:ValidatorCalloutExtender>
                    
                    <span>-</span>
                    <asp:TextBox ID="txt_FAX2" onkeypress="return InputNumberKeys(this, event)" runat="server" Font-Names="MS UI Gothic"
                        onpaste="return false;" ValidationGroup="detailForm"  CausesValidation="false"
                        MaxLength="4" CssClass="myclass enter validation textbox width_tel" Style="ime-mode: disabled;" ></asp:TextBox>
                    <asp:RequiredFieldValidator ID="validatetxt_FAX2" ControlToValidate="txt_FAX2" Display="None"
                        onpaste="return false;" SetFocusOnError="False" ErrorMessage="" runat="server"> </asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="VCEFAX番号_M1" TargetControlID="validatetxt_FAX2" Width="260px"
                        HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                        runat="server">
                    </ajaxToolkit:ValidatorCalloutExtender>
                    <asp:RegularExpressionValidator runat="server" ValidationExpression="^\d+$" ID="Regulartxt_FAX2"
                        ControlToValidate="txt_FAX2" ErrorMessage="" Display="none" SetFocusOnError="False"> </asp:RegularExpressionValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender39" TargetControlID="Regulartxt_FAX2"
                        HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                        runat="server" Width="210px" >
                    </ajaxToolkit:ValidatorCalloutExtender>
                    
                    <span>-</span>
                    <asp:TextBox ID="txt_FAX3" onkeypress="return InputNumberKeys(this, event)" runat="server" Font-Names="MS UI Gothic"
                        onpaste="return false;" ValidationGroup="detailForm"  CausesValidation="false"
                        MaxLength="4" CssClass="myclass enter validation textbox width_tel" Style="ime-mode: disabled"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="validatetxt_FAX3" ControlToValidate="txt_FAX3" Display="None"
                        SetFocusOnError="False" ErrorMessage="" runat="server"> </asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="VCEFAX番号_M2" TargetControlID="validatetxt_FAX3" Width="260px"
                        HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                        runat="server">
                    </ajaxToolkit:ValidatorCalloutExtender>
                    <asp:RegularExpressionValidator runat="server" ValidationExpression="^\d+$" ID="Regulartxt_FAX3"
                        ControlToValidate="txt_FAX3" ErrorMessage="" Display="none" SetFocusOnError="False"> </asp:RegularExpressionValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender40" TargetControlID="Regulartxt_FAX3"
                        HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                        runat="server" Width="210px" >
                    </ajaxToolkit:ValidatorCalloutExtender>
                    
                    <span class="required-field">*</span>
                </div>
                <div class="detail-admin-row">
                    <span class="detail-admin-label">&nbsp;</span> <span style="color: Red">06-1234-5678の形式に入力してください</span>
                </div>
                <div class="detail-admin-row">
                    <span class="detail-admin-label">設立年月日 :</span>
                    <asp:TextBox ID="txt_設立年月日" runat="server" ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" Style="ime-mode: disabled" 
                        CssClass="myclass enter validation css_text_calender textbox width2" MaxLength="18"></asp:TextBox>
                    <asp:ImageButton ID="imb_設立年月日" runat="server" Height="19px" ValidationGroup="detailForm"
                        ImageUrl="~/Images/calendar.jpg" CausesValidation="False"></asp:ImageButton>
                    <span class="required-field">*</span>
                    <ajaxToolkit:CalendarExtender ID="CalendarExtender5" runat="server" Format="yyyy/MM/dd"
                        TargetControlID="txt_設立年月日" PopupButtonID="imb_設立年月日" PopupPosition="Right">
                    </ajaxToolkit:CalendarExtender>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txt_設立年月日"
                        ErrorMessage="" Display="None" SetFocusOnError="false"></asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender4" runat="server" Width="260px"
                        TargetControlID="RequiredFieldValidator5" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                        WarningIconImageUrl="../Images/warning.png">
                    </ajaxToolkit:ValidatorCalloutExtender>
                    <%--<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage=""
                        ControlToValidate="txt_設立年月日" Display="None" SetFocusOnError="False" ValidationExpression="^((((19|20)(([02468][048])|([13579][26]))[- /.]02[- /.]29))|((20[0-9][0-9])|(19[0-9][0-9]))[- /.]((((0[1-9])|(1[0-2]))[-  /.]((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))[- /.]31)|(((0[1,3-9])|(1[0-2]))[- /.](29|30)))))$"></asp:RegularExpressionValidator>--%>
                    <asp:CustomValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage=""
                        ControlToValidate="txt_設立年月日" ClientValidationFunction="isDate" Display="None"
                        SetFocusOnError="False"></asp:CustomValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender5" runat="server" Width="260px"
                        TargetControlID="RegularExpressionValidator1" HighlightCssClass="invalid1" CssClass="CustomValidatorCalloutStyle"
                        WarningIconImageUrl="../Images/warning.png">
                    </ajaxToolkit:ValidatorCalloutExtender>
                    <%--CH--%>
                    <asp:CustomValidator ID="CustomValidator1" runat="server" ErrorMessage="" ControlToValidate="txt_設立年月日"
                        ClientValidationFunction="validatDate2" Display="None" SetFocusOnError="False"></asp:CustomValidator>
                    <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender35" Width="260px"
                        TargetControlID="CustomValidator1" HighlightCssClass="invalid2" CssClass="CustomValidatorCalloutStyle"
                        WarningIconImageUrl="../Images/warning.png" />
                </div>
                <div class="detail-admin-row">
                    <span class="detail-admin-label">資本金 :</span>
                    <asp:TextBox ID="txt_資本金" runat="server"  ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" onkeypress="return InputNumberKeys(this, event)" onpaste="return false;"
                        Style="ime-mode: disabled; text-align: right" 
                        CssClass="myclass enter validation money textbox width2" MaxLength="18"></asp:TextBox>
                    VND<span class="required-field"> *</span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txt_資本金"
                        ErrorMessage="" Display="None" SetFocusOnError="False"></asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender6" runat="server" Width="260px"
                        TargetControlID="RequiredFieldValidator6" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                        WarningIconImageUrl="../Images/warning.png">
                    </ajaxToolkit:ValidatorCalloutExtender>
                    &nbsp;<%--HighlightCssClass="invalid"--%>
                    <%--<asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" ErrorMessage="" 
                        SetFocusOnError="False" Display="None"
                        ControlToValidate="txt_資本金" ValidationExpression="^(((\d{2}|\d{3}|\d{1})[,])*(\d{3})([,]\d{3})+[.]\d{2})$">
                        </asp:RegularExpressionValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender70" runat="server"
                        TargetControlID="RegularExpressionValidator6"  CssClass="CustomValidatorCalloutStyle"
                        WarningIconImageUrl="../Images/warning.png" HighlightCssClass="invalid" >
                    </ajaxToolkit:ValidatorCalloutExtender>--%>
                </div>
                <div class="detail-admin-row">
                    <span class="detail-admin-label">業種分類 :</span>
                    <asp:TextBox ID="txt_業種分類" runat="server" ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" MaxLength="1000" CssClass="myclass enter textbox width4"></asp:TextBox>
                    <span class="required-field"></span>
                </div>
                <div class="detail-admin-row">
                    <span class="detail-admin-label">事業内容 :</span>
                    <%--<asp:TextBox ID="txt_事業内容" runat="server" Width="300px" ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" MaxLength="1000"></asp:TextBox>--%>
                    <asp:DropDownList ID="ddl_事業内容" runat="server"  Font-Names="MS UI Gothic"
                        Font-Size="11pt" CssClass="myclass enter validation dropdownlist width2" onchange="CheckExists();">
                        <asp:ListItem Value="-1" Selected="true">[選択]</asp:ListItem>
                    </asp:DropDownList>
                    <span class="required-field">*</span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage=""
                        Display="None" SetFocusOnError="False" ControlToValidate="ddl_事業内容" InitialValue="-1"></asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender7" runat="server" Width="260px"
                        TargetControlID="RequiredFieldValidator7" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                        WarningIconImageUrl="../Images/warning.png">
                    </ajaxToolkit:ValidatorCalloutExtender>
                </div>
                <div class="detail-admin-row" style="display: none" id="show事業内容その">
                    <span class="detail-admin-label">事業内容その他 :</span>
                    <asp:TextBox ID="txt_事業内容その他" runat="server" Width="300px" ValidationGroup="detailForm"
                        Height="50" TextMode="MultiLine" Font-Names="MS UI Gothic" MaxLength="1000" CssClass="enter validation textarea Font_textbox"></asp:TextBox>
                    <span class="required-field">*</span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage=""
                        Display="None" SetFocusOnError="False" ControlToValidate="txt_事業内容その他"></asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender222" runat="server"
                        TargetControlID="RequiredFieldValidator3" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                        WarningIconImageUrl="../Images/warning.png" />
                </div>
                <div class="detail-admin-row">
                    <span class="detail-admin-label">主要製品 :</span>
                    <asp:TextBox ID="txt_主要製品" runat="server"  ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" MaxLength="1000" CssClass="myclass enter textbox width4"></asp:TextBox></div>
                <div class="detail-admin-row">
                    <span class="detail-admin-label">主要貿易（取引）相手国輸出先 :</span>
                    <asp:TextBox ID="txt_主要貿易取引相手国輸出先" runat="server" ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" MaxLength="1000" CssClass="myclass enter textbox width4"></asp:TextBox></div>
                <div class="detail-admin-row">
                    <span class="detail-admin-label">主要貿易（取引）相手国輸入先 :</span>
                    <asp:TextBox ID="txt_主要貿易取引相手国輸入先" runat="server"  ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" MaxLength="1000" CssClass="myclass enter textbox width4"></asp:TextBox>
                    <span class="required-field"></span>
                </div>
                <div>
                    &nbsp;</div>
                <asp:Panel runat="server" ID="pnlHidden1" Visible="false">
                    <div class="headerLineAndGray">
                    </div>
                    <div>
                        &nbsp;</div>
                    <div class="headerLineAndGray">
                        <span style="color: #FF5000; font-style: normal">代表者1情報</span></div>
                    <div>
                        &nbsp;</div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">社員 :</span>
                        <asp:DropDownList ID="ddl_代表者１社員" runat="server" DataValueField="社員ID" DataTextField="名"
                            Font-Names="MS UI Gothic" OnSelectedIndexChanged="ddl_代表者１社員_SelectedIndexChanged1"
                            CssClass="myclass dropdownlist width2">
                            <asp:ListItem Value="-1" Selected="true">-------選択------</asp:ListItem>
                        </asp:DropDownList>
                        <span class="required-field"></span>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">氏名 :</span>
                        <asp:TextBox ID="txt_代表者１氏名" runat="server"  ValidationGroup="detailForm"
                            Font-Names="MS UI Gothic" MaxLength="50" CssClass="myclass textbox width3"></asp:TextBox>
                        <span class="required-field">*</span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ErrorMessage=""
                            Display="None" SetFocusOnError="False" ControlToValidate="txt_代表者１氏名"></asp:RequiredFieldValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender8" runat="server"
                            TargetControlID="RequiredFieldValidator8" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                            WarningIconImageUrl="../Images/warning.png">
                        </ajaxToolkit:ValidatorCalloutExtender>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">フリガナ :</span>
                        <asp:TextBox ID="txt_代表者１氏名フリガナ" runat="server" Width="230px" ValidationGroup="detailForm"
                            Font-Names="MS UI Gothic" MaxLength="50" CssClass="myclass"></asp:TextBox>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">役職 :</span>
                        <%--<asp:TextBox ID="txt_代表者１役職" runat="server" Width="230px" ValidationGroup="detailForm"></asp:TextBox>--%>
                        <asp:DropDownList ID="ddl_代表者１役職" runat="server" Width="150px" Font-Names="MS UI Gothic"
                            CssClass="myclass">
                            <asp:ListItem Value="-1" Selected="true">-------選択------</asp:ListItem>
                        </asp:DropDownList>
                        <span class="required-field">*</span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ErrorMessage=""
                            Display="None" SetFocusOnError="False" ControlToValidate="ddl_代表者１役職" InitialValue="-1"> </asp:RequiredFieldValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender9" TargetControlID="RequiredFieldValidator9"
                            runat="server" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                            WarningIconImageUrl="../Images/warning.png">
                        </ajaxToolkit:ValidatorCalloutExtender>
                    </div>
                    <%-- <div class="detail-admin-row">
                    <span class="detail-admin-label">ＴＥＬ :</span>
                    <asp:TextBox ID="txt_代表者１ＴＥＬ" runat="server" Width="150px" ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" MaxLength="13"></asp:TextBox>
                    <span class="required-field">*</span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ErrorMessage=""
                        Display="None" SetFocusOnError="False" ControlToValidate="txt_代表者１ＴＥＬ"></asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender10" TargetControlID="RequiredFieldValidator10"
                        runat="server" HighlightCssClass = "invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png">
                    </ajaxToolkit:ValidatorCalloutExtender>
                </div>--%>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">ＴＥＬ :</span>
                        <asp:TextBox ID="txt_代表者１ＴＥＬ1" runat="server" ValidationGroup="detailForm" Width="37px"
                            CausesValidation="false" MaxLength="4" onkeypress="return InputNumberKeys(this, event)"
                            CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="validatortxt_代表者１ＴＥＬ1" ControlToValidate="txt_代表者１ＴＥＬ1"
                            Display="None" SetFocusOnError="False" ErrorMessage="" runat="server"> </asp:RequiredFieldValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender10" TargetControlID="validatortxt_代表者１ＴＥＬ1"
                            HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                            runat="server">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <asp:RegularExpressionValidator runat="server" ValidationExpression="^\d+$" ID="Regulartxt_代表者１ＴＥＬ1"
                            ControlToValidate="txt_代表者１ＴＥＬ1" ErrorMessage="" Display="None" SetFocusOnError="False"> </asp:RegularExpressionValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender41" TargetControlID="Regulartxt_代表者１ＴＥＬ1"
                            HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                            runat="server">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <span>-</span>
                        <asp:TextBox ID="txt_代表者１ＴＥＬ2" onkeypress="return InputNumberKeys(this, event)" runat="server"
                            ValidationGroup="detailForm" Width="37px" CausesValidation="false" MaxLength="4"
                            CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="validatortxt_代表者１ＴＥＬ2" ControlToValidate="txt_代表者１ＴＥＬ2"
                            Display="None" SetFocusOnError="False" ErrorMessage="" runat="server"> </asp:RequiredFieldValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender42" TargetControlID="validatortxt_代表者１ＴＥＬ2"
                            CssClass="CustomValidatorCalloutStyle" HighlightCssClass="invalid" WarningIconImageUrl="../Images/warning.png"
                            runat="server">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <asp:RegularExpressionValidator runat="server" ValidationExpression="^\d+$" ID="Regulartxt_代表者１ＴＥＬ2"
                            ControlToValidate="txt_代表者１ＴＥＬ2" ErrorMessage="" Display="none" SetFocusOnError="False"> </asp:RegularExpressionValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender43" TargetControlID="Regulartxt_代表者１ＴＥＬ2"
                            HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                            runat="server">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <span>-</span>
                        <asp:TextBox ID="txt_代表者１ＴＥＬ3" onkeypress="return InputNumberKeys(this, event)" runat="server"
                            ValidationGroup="detailForm" Width="37px" CausesValidation="false" MaxLength="4"
                            CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="validatortxt_代表者１ＴＥＬ3" ControlToValidate="txt_代表者１ＴＥＬ3"
                            Display="None" SetFocusOnError="False" ErrorMessage="" runat="server"> </asp:RequiredFieldValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender44" TargetControlID="validatortxt_代表者１ＴＥＬ3"
                            HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                            runat="server">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <span class="required-field">*</span>
                        <asp:RegularExpressionValidator runat="server" ValidationExpression="^\d+$" ID="Regulartxt_代表者１ＴＥＬ3"
                            ControlToValidate="txt_代表者１ＴＥＬ3" ErrorMessage="" Display="none" SetFocusOnError="False"> </asp:RegularExpressionValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender45" TargetControlID="Regulartxt_代表者１ＴＥＬ3"
                            HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                            runat="server">
                        </ajaxToolkit:ValidatorCalloutExtender>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">&nbsp;</span> <span style="color: Red">06-1234-5678の形式に入力してください</span>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">就任年月日 :</span>
                        <asp:TextBox ID="txt_代表者１就任年月日" runat="server" Width="150px" ValidationGroup="detailForm"
                            Font-Names="MS UI Gothic" Style="ime-mode: disabled" CssClass="myclass"></asp:TextBox>
                        <asp:ImageButton ID="imb_代表者１就任年月日" runat="server" Height="19px" ValidationGroup="detailForm"
                            ImageUrl="~/Images/calendar.jpg" CausesValidation="False"></asp:ImageButton>
                        <span class="required-field">*</span>
                        <ajaxToolkit:CalendarExtender ID="CalendarExtender1" runat="server" Format="yyyy/MM/dd"
                            TargetControlID="txt_代表者１就任年月日" PopupButtonID="imb_代表者１就任年月日">
                        </ajaxToolkit:CalendarExtender>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="txt_代表者１就任年月日"
                            ErrorMessage="" Display="None" SetFocusOnError="false"></asp:RequiredFieldValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender11" runat="server"
                            TargetControlID="RequiredFieldValidator11" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                            WarningIconImageUrl="../Images/warning.png">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage=""
                            ControlToValidate="txt_代表者１就任年月日" Display="None" SetFocusOnError="False" ValidationExpression="^((((19|20)(([02468][048])|([13579][26]))[- /.]02[- /.]29))|((20[0-9][0-9])|(19[0-9][0-9]))[- /.]((((0[1-9])|(1[0-2]))[-  /.]((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))[- /.]31)|(((0[1,3-9])|(1[0-2]))[- /.](29|30)))))$"></asp:RegularExpressionValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender12" TargetControlID="RegularExpressionValidator2"
                            runat="server" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                            WarningIconImageUrl="../Images/warning.png">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <asp:CustomValidator ID="CustomValidator2" runat="server" ErrorMessage="AAAAAA" ControlToValidate="txt_代表者１就任年月日"
                            ClientValidationFunction="validatDate2" Display="None" SetFocusOnError="False"></asp:CustomValidator>
                        <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender36"
                            TargetControlID="CustomValidator2" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                            WarningIconImageUrl="../Images/warning.png" />
                    </div>
                    <div class="headerLineAndGray">
                    </div>
                    <div>
                        &nbsp;</div>
                    <div class="headerLineAndGray">
                        <span style="color: #FF5000; font-style: normal">代表者2情報</span></div>
                    <div>
                        &nbsp;</div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">社員 :</span>
                        <asp:DropDownList ID="ddl_代表者2社員" runat="server" DataValueField="社員ID" DataTextField="名"
                            Width="150px" Font-Names="MS UI Gothic" OnSelectedIndexChanged="ddl_代表者2社員_SelectedIndexChanged"
                            CssClass="myclass">
                            <asp:ListItem Value="-1" Selected="true">-------選択------</asp:ListItem>
                        </asp:DropDownList>
                        <span class="required-field"></span>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">氏名 :</span>
                        <asp:TextBox ID="txt_代表者２氏名" runat="server" Width="230px" ValidationGroup="detailForm"
                            Font-Names="MS UI Gothic" MaxLength="50" CssClass="myclass"></asp:TextBox>
                        <span class="required-field"></span>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">フリガナ :</span>
                        <asp:TextBox ID="txt_代表者２氏名フリガナ" runat="server" Width="230px" ValidationGroup="detailForm"
                            Font-Names="MS UI Gothic" MaxLength="50" CssClass="myclass"></asp:TextBox>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">役職 :</span>
                        <%--<asp:TextBox ID="txt_代表者２役職" runat="server" Width="230px" ValidationGroup="detailForm"></asp:TextBox>--%>
                        <asp:DropDownList ID="ddl_代表者２役職" runat="server" Width="150px" Font-Names="MS UI Gothic"
                            CssClass="myclass">
                            <asp:ListItem Value="-1" Selected="true">-------選択------</asp:ListItem>
                        </asp:DropDownList>
                        <span class="required-field"></span>
                    </div>
                    <%--<div class="detail-admin-row">
                    <span class="detail-admin-label">ＴＥＬ :</span>
                    <asp:TextBox ID="txt_代表者２ＴＥＬ" runat="server" Width="150px" ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" MaxLength="13"></asp:TextBox>
                    <span class="required-field">*</span>&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator15"
                        runat="server" ErrorMessage="" Display="None" SetFocusOnError="False" ControlToValidate="txt_代表者２ＴＥＬ"></asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender33" runat="server"
                        TargetControlID="RequiredFieldValidator15" HighlightCssClass = "invalid" CssClass="CustomValidatorCalloutStyle"
                        WarningIconImageUrl="../Images/warning.png">
                    </ajaxToolkit:ValidatorCalloutExtender>
                </div>--%>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">ＴＥＬ :</span>
                        <asp:TextBox ID="txt_代表者２ＴＥＬ1" runat="server" ValidationGroup="detailForm" Width="37px"
                            CausesValidation="false" MaxLength="4" onkeypress="return InputNumberKeys(this, event)"
                            CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <span>-</span>
                        <asp:TextBox ID="txt_代表者２ＴＥＬ2" onkeypress="return InputNumberKeys(this, event)" runat="server"
                            ValidationGroup="detailForm" Width="37px" CausesValidation="false" MaxLength="4"
                            CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <span>-</span>
                        <asp:TextBox ID="txt_代表者２ＴＥＬ3" onkeypress="return InputNumberKeys(this, event)" runat="server"
                            ValidationGroup="detailForm" Width="37px" CausesValidation="false" MaxLength="4"
                            CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <span class="required-field"></span>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">&nbsp;</span> <span style="color: Red">06-1234-5678の形式に入力してください</span>
                    </div>
                    <%--<div class="detail-admin-row">
                    <span class="detail-admin-label">携帯ＴＥＬ :</span>
                    <asp:TextBox ID="txt_代表者２携帯ＴＥＬ" runat="server" Width="150px" ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" MaxLength="13"></asp:TextBox>
                    &nbsp;</div>--%>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">携帯ＴＥＬ :</span>
                        <asp:TextBox ID="txt_代表者２携帯ＴＥＬ1" runat="server" ValidationGroup="detailForm" Width="37px"
                            CausesValidation="false" MaxLength="4" onkeypress="return InputNumberKeys(this, event)"
                            CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <span>-</span>
                        <asp:TextBox ID="txt_代表者２携帯ＴＥＬ2" onkeypress="return InputNumberKeys(this, event)"
                            runat="server" ValidationGroup="detailForm" Width="37px" CausesValidation="false"
                            MaxLength="4" CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <span>-</span>
                        <asp:TextBox ID="txt_代表者２携帯ＴＥＬ3" onkeypress="return InputNumberKeys(this, event)"
                            runat="server" ValidationGroup="detailForm" Width="37px" CausesValidation="false"
                            MaxLength="4" CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">&nbsp;</span> <span style="color: Red">06-1234-5678の形式に入力してください</span>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">就任年月日 :</span>
                        <asp:TextBox ID="txt_代表者２就任年月日" runat="server" Width="150px" ValidationGroup="detailForm"
                            Font-Names="MS UI Gothic" Style="ime-mode: disabled" CssClass="myclass"></asp:TextBox>
                        <asp:ImageButton ID="imb_代表者２就任年月日" runat="server" Height="19px" ValidationGroup="detailForm"
                            ImageUrl="~/Images/calendar.jpg" CausesValidation="False"></asp:ImageButton>
                        <span class="required-field"></span>
                        <ajaxToolkit:CalendarExtender ID="CalendarExtender2" runat="server" Format="yyyy/MM/dd"
                            TargetControlID="txt_代表者２就任年月日" PopupButtonID="imb_代表者２就任年月日">
                        </ajaxToolkit:CalendarExtender>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ErrorMessage=""
                            Display="None" SetFocusOnError="False" ControlToValidate="txt_代表者２就任年月日" ValidationExpression="^((((19|20)(([02468][048])|([13579][26]))[- /.]02[- /.]29))|((20[0-9][0-9])|(19[0-9][0-9]))[- /.]((((0[1-9])|(1[0-2]))[-  /.]((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))[- /.]31)|(((0[1,3-9])|(1[0-2]))[- /.](29|30)))))$"></asp:RegularExpressionValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender16" TargetControlID="RegularExpressionValidator3"
                            runat="server" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                            WarningIconImageUrl="../Images/warning.png">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <asp:CustomValidator ID="CustomValidator3" runat="server" ErrorMessage="AAAAAA" ControlToValidate="txt_代表者２就任年月日"
                            ClientValidationFunction="validatDate2" Display="None" SetFocusOnError="False"></asp:CustomValidator>
                        <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender13"
                            TargetControlID="CustomValidator3" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                            WarningIconImageUrl="../Images/warning.png" />
                    </div>
                    <div class="headerLineAndGray">
                    </div>
                    <div>
                        &nbsp;</div>
                    <div class="headerLineAndGray">
                        <span style="color: #FF5000; font-style: normal">担当1情報</span></div>
                    <div>
                        &nbsp;</div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">社員 :</span>
                        <asp:DropDownList ID="ddl_担当１社員ID" runat="server" DataValueField="社員ID" DataTextField="名"
                            Width="150px" Font-Names="MS UI Gothic" OnSelectedIndexChanged="ddl_担当１社員ID_SelectedIndexChanged"
                            CssClass="myclass">
                            <asp:ListItem Value="-1" Selected="true">-------選択------</asp:ListItem>
                        </asp:DropDownList>
                        <span class="required-field"></span>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">氏名 :</span>
                        <asp:TextBox ID="txt_担当１氏名" runat="server" Width="230px" ValidationGroup="detailForm"
                            Font-Names="MS UI Gothic" MaxLength="50" CssClass="myclass"></asp:TextBox>
                        <span class="required-field">*</span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator17" runat="server" ErrorMessage=""
                            Display="None" SetFocusOnError="False" ControlToValidate="txt_担当１氏名"></asp:RequiredFieldValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender17" runat="server"
                            TargetControlID="RequiredFieldValidator17" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                            WarningIconImageUrl="../Images/warning.png">
                        </ajaxToolkit:ValidatorCalloutExtender>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">部署名 :</span>
                        <asp:TextBox ID="txt_担当１部署名" runat="server" Width="230px" ValidationGroup="detailForm"
                            Font-Names="MS UI Gothic" MaxLength="50" CssClass="myclass"></asp:TextBox>
                        <span class="required-field">*</span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator18" runat="server" ErrorMessage=""
                            Display="None" SetFocusOnError="False" ControlToValidate="txt_担当１部署名"></asp:RequiredFieldValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender18" runat="server"
                            TargetControlID="RequiredFieldValidator18" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                            WarningIconImageUrl="../Images/warning.png">
                        </ajaxToolkit:ValidatorCalloutExtender>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">役職 :</span>
                        <%--<asp:TextBox ID="txt_担当１役職" runat="server" Width="230px" ValidationGroup="detailForm"></asp:TextBox>--%>
                        <asp:DropDownList ID="ddl_担当１役職" runat="server" Width="150px" Font-Names="MS UI Gothic"
                            CssClass="myclass">
                            <asp:ListItem Value="-1" Selected="true">-------選択------</asp:ListItem>
                        </asp:DropDownList>
                        <span class="required-field">*</span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator19" runat="server" ErrorMessage=""
                            Display="None" SetFocusOnError="False" ControlToValidate="ddl_担当１役職" InitialValue="-1"></asp:RequiredFieldValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender19" runat="server"
                            TargetControlID="RequiredFieldValidator19" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                            WarningIconImageUrl="../Images/warning.png">
                        </ajaxToolkit:ValidatorCalloutExtender>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">メールアドレス :</span>
                        <asp:TextBox ID="txt_担当１メールアドレス" runat="server" Width="300px" ValidationGroup="detailForm"
                            Font-Names="MS UI Gothic" MaxLength="100" CssClass="myclass"></asp:TextBox>
                        <span class="required-field">*</span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator20" runat="server" ErrorMessage=""
                            Display="None" SetFocusOnError="False" ControlToValidate="txt_担当１メールアドレス"></asp:RequiredFieldValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender20" runat="server"
                            TargetControlID="RequiredFieldValidator20" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                            WarningIconImageUrl="../Images/warning.png">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <asp:RegularExpressionValidator runat="server" ID="RegularExpressionValidatorEmail2"
                            ControlToValidate="txt_担当１メールアドレス" ValidationExpression="^[\w-\.]{1,}\@([\da-zA-Z-]{1,}(\.)){1,}[\da-zA-Z-]{2,6}$"
                            ErrorMessage="" SetFocusOnError="False" Display="none" />
                        <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender25"
                            TargetControlID="RegularExpressionValidatorEmail2" HighlightCssClass="invalid"
                            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="~/Images/warning.png" />
                    </div>
                    <%--<div class="detail-admin-row">
                    <span class="detail-admin-label">直通ＴＥＬ :</span>
                    <asp:TextBox ID="txt_担当１直通ＴＥＬ" runat="server" Width="150px" ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" MaxLength="13"></asp:TextBox>
                    <span class="required-field">*</span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator21" runat="server" ErrorMessage=""
                        Display="None" SetFocusOnError="False" ControlToValidate="txt_担当１直通ＴＥＬ"></asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender21" runat="server"
                        TargetControlID="RequiredFieldValidator21" HighlightCssClass = "invalid" CssClass="CustomValidatorCalloutStyle"
                        WarningIconImageUrl="../Images/warning.png">
                    </ajaxToolkit:ValidatorCalloutExtender>
                </div>--%>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">直通ＴＥＬ :</span>
                        <asp:TextBox ID="txt_担当１直通ＴＥＬ1" runat="server" ValidationGroup="detailForm" Width="37px"
                            CausesValidation="false" MaxLength="4" onkeypress="return InputNumberKeys(this, event)"
                            CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="validatortxt_担当１直通ＴＥＬ1" ControlToValidate="txt_担当１直通ＴＥＬ1"
                            Display="None" SetFocusOnError="False" ErrorMessage="" runat="server"> </asp:RequiredFieldValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender21" TargetControlID="validatortxt_担当１直通ＴＥＬ1"
                            HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                            runat="server">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <asp:RegularExpressionValidator runat="server" ValidationExpression="^\d+$" ID="Regulartxt_担当１直通ＴＥＬ1"
                            ControlToValidate="txt_担当１直通ＴＥＬ1" ErrorMessage="" Display="None" SetFocusOnError="False"> </asp:RegularExpressionValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender51" TargetControlID="Regulartxt_担当１直通ＴＥＬ1"
                            HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                            runat="server">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <span>-</span>
                        <asp:TextBox ID="txt_担当１直通ＴＥＬ2" onkeypress="return InputNumberKeys(this, event)"
                            runat="server" ValidationGroup="detailForm" Width="37px" CausesValidation="false"
                            MaxLength="4" CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="validatortxt_担当１直通ＴＥＬ2" ControlToValidate="txt_担当１直通ＴＥＬ2"
                            Display="None" SetFocusOnError="False" ErrorMessage="" runat="server"> </asp:RequiredFieldValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender53" TargetControlID="validatortxt_担当１直通ＴＥＬ2"
                            CssClass="CustomValidatorCalloutStyle" HighlightCssClass="invalid" WarningIconImageUrl="../Images/warning.png"
                            runat="server">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <asp:RegularExpressionValidator runat="server" ValidationExpression="^\d+$" ID="Regulartxt_担当１直通ＴＥＬ2"
                            ControlToValidate="txt_担当１直通ＴＥＬ2" ErrorMessage="" Display="none" SetFocusOnError="False"> </asp:RegularExpressionValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender55" TargetControlID="Regulartxt_担当１直通ＴＥＬ2"
                            HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                            runat="server">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <span>-</span>
                        <asp:TextBox ID="txt_担当１直通ＴＥＬ3" onkeypress="return InputNumberKeys(this, event)"
                            runat="server" ValidationGroup="detailForm" Width="37px" CausesValidation="false"
                            MaxLength="4" CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="validatortxt_担当１直通ＴＥＬ3" ControlToValidate="txt_担当１直通ＴＥＬ3"
                            Display="None" SetFocusOnError="False" ErrorMessage="" runat="server"> </asp:RequiredFieldValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender57" TargetControlID="validatortxt_担当１直通ＴＥＬ3"
                            HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                            runat="server">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <span class="required-field">*</span>
                        <asp:RegularExpressionValidator runat="server" ValidationExpression="^\d+$" ID="Regulartxt_担当１直通ＴＥＬ3"
                            ControlToValidate="txt_担当１直通ＴＥＬ3" ErrorMessage="" Display="none" SetFocusOnError="False"> </asp:RegularExpressionValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender58" TargetControlID="Regulartxt_担当１直通ＴＥＬ3"
                            HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                            runat="server">
                        </ajaxToolkit:ValidatorCalloutExtender>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">&nbsp;</span> <span style="color: Red">06-1234-5678の形式に入力してください</span>
                    </div>
                    <%--<div class="detail-admin-row">
                    <span class="detail-admin-label">携帯ＴＥＬ :</span>
                    <asp:TextBox ID="txt_担当１携帯ＴＥＬ" runat="server" Width="150px" ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" MaxLength="13"></asp:TextBox>
                    <span class="required-field"></span>
                </div>--%>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">携帯ＴＥＬ :</span>
                        <asp:TextBox ID="txt_担当１携帯ＴＥＬ1" runat="server" ValidationGroup="detailForm" Width="37px"
                            CausesValidation="false" MaxLength="4" onkeypress="return InputNumberKeys(this, event)"
                            CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <asp:RegularExpressionValidator runat="server" ValidationExpression="^\d+$" ID="Regulartxt_担当１携帯ＴＥＬ1"
                            ControlToValidate="txt_担当１携帯ＴＥＬ1" ErrorMessage="" Display="None" SetFocusOnError="False"> </asp:RegularExpressionValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender59" TargetControlID="Regulartxt_担当１携帯ＴＥＬ1"
                            HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                            runat="server">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <span>-</span>
                        <asp:TextBox ID="txt_担当１携帯ＴＥＬ2" onkeypress="return InputNumberKeys(this, event)"
                            runat="server" ValidationGroup="detailForm" Width="37px" CausesValidation="false"
                            MaxLength="4" CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <asp:RegularExpressionValidator runat="server" ValidationExpression="^\d+$" ID="Regulartxt_担当１携帯ＴＥＬ2"
                            ControlToValidate="txt_担当１携帯ＴＥＬ2" ErrorMessage="" Display="none" SetFocusOnError="False"> </asp:RegularExpressionValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender60" TargetControlID="Regulartxt_担当１携帯ＴＥＬ2"
                            HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                            runat="server">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <span>-</span>
                        <asp:TextBox ID="txt_担当１携帯ＴＥＬ3" onkeypress="return InputNumberKeys(this, event)"
                            runat="server" ValidationGroup="detailForm" Width="37px" CausesValidation="false"
                            MaxLength="4" CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <asp:RegularExpressionValidator runat="server" ValidationExpression="^\d+$" ID="Regulartxt_担当１携帯ＴＥＬ3"
                            ControlToValidate="txt_代表者２携帯ＴＥＬ3" ErrorMessage="" Display="none" SetFocusOnError="False"> </asp:RegularExpressionValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender61" TargetControlID="Regulartxt_担当１携帯ＴＥＬ3"
                            HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                            runat="server">
                        </ajaxToolkit:ValidatorCalloutExtender>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">&nbsp;</span> <span style="color: Red">06-1234-5678の形式に入力してください</span>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">就任年月日 :</span>
                        <asp:TextBox ID="txt_担当１就任年月日" runat="server" Width="150px" ValidationGroup="detailForm"
                            Font-Names="MS UI Gothic" Style="ime-mode: disabled" CssClass="myclass"></asp:TextBox>
                        <asp:ImageButton ID="imb_担当１就任年月日" runat="server" Height="19px" ValidationGroup="detailForm"
                            ImageUrl="~/Images/calendar.jpg" CausesValidation="False"></asp:ImageButton>
                        <span class="required-field">*</span>
                        <ajaxToolkit:CalendarExtender ID="CalendarExtender3" runat="server" Format="yyyy/MM/dd"
                            TargetControlID="txt_担当１就任年月日" PopupButtonID="imb_担当１就任年月日">
                        </ajaxToolkit:CalendarExtender>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator22" runat="server" ControlToValidate="txt_担当１就任年月日"
                            ErrorMessage="" Display="None" SetFocusOnError="false"></asp:RequiredFieldValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender22" runat="server"
                            HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                            TargetControlID="RequiredFieldValidator22">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ErrorMessage=""
                            Display="None" SetFocusOnError="False" ControlToValidate="txt_担当１就任年月日" ValidationExpression="^((((19|20)(([02468][048])|([13579][26]))[- /.]02[- /.]29))|((20[0-9][0-9])|(19[0-9][0-9]))[- /.]((((0[1-9])|(1[0-2]))[-  /.]((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))[- /.]31)|(((0[1,3-9])|(1[0-2]))[- /.](29|30)))))$"></asp:RegularExpressionValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender23" runat="server"
                            HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png"
                            TargetControlID="RegularExpressionValidator4">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <asp:CustomValidator ID="CustomValidator5" runat="server" ErrorMessage="AAAAAA" ControlToValidate="txt_担当１就任年月日"
                            ClientValidationFunction="validatDate2" Display="None" SetFocusOnError="False"></asp:CustomValidator>
                        <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender15"
                            TargetControlID="CustomValidator5" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                            WarningIconImageUrl="../Images/warning.png" />
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">コメント :</span>
                        <asp:TextBox ID="txt_担当１コメント" CssClass="textarea" runat="server" ValidationGroup="detailForm"
                            TextMode="MultiLine" onkeypress="return imposeMaxLength(this, 1000);" Font-Names="MS UI Gothic"
                            MaxLength="1000"></asp:TextBox>
                    </div>
                    <div class="headerLineAndGray">
                    </div>
                    <div>
                        &nbsp;</div>
                    <div class="headerLineAndGray">
                        <span style="color: #FF5000; font-style: normal">担当2情報</span></div>
                    <div>
                        &nbsp;</div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">社員 :</span>
                        <asp:DropDownList ID="ddl_担当２社員ID" runat="server" DataValueField="社員ID" DataTextField="名"
                            Width="150px" Font-Names="MS UI Gothic" OnSelectedIndexChanged="ddl_担当２社員ID_SelectedIndexChanged"
                            CssClass="myclass">
                            <asp:ListItem Value="-1" Selected="true">-------選択------</asp:ListItem>
                        </asp:DropDownList>
                        <span class="required-field"></span>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">氏名 :</span>
                        <asp:TextBox ID="txt_担当２氏名" runat="server" Width="230px" ValidationGroup="detailForm"
                            Font-Names="MS UI Gothic" MaxLength="50" CssClass="myclass"></asp:TextBox>
                        <span class="required-field"></span>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">部署名 :</span>
                        <asp:TextBox ID="txt_担当２部署名" runat="server" Width="230px" ValidationGroup="detailForm"
                            Font-Names="MS UI Gothic" MaxLength="50" CssClass="myclass"></asp:TextBox>
                        <span class="required-field"></span>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">役職 :</span>
                        <%--<asp:TextBox ID="txt_担当２役職" runat="server" Width="230px" ValidationGroup="detailForm"></asp:TextBox>--%>
                        <asp:DropDownList ID="ddl_担当２役職" runat="server" Width="150px" Font-Names="MS UI Gothic"
                            CssClass="myclass">
                            <asp:ListItem Value="-1" Selected="true">-------選択------</asp:ListItem>
                        </asp:DropDownList>
                        <span class="required-field"></span>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">担当２メールアドレス :</span>
                        <asp:TextBox ID="txt_担当２メールアドレス" runat="server" Width="300px" ValidationGroup="detailForm"
                            Font-Names="MS UI Gothic" MaxLength="100" CssClass="myclass"></asp:TextBox>
                        <span class="required-field"></span>
                        <asp:RegularExpressionValidator runat="server" ID="RegularExpressionValidatorEmail1"
                            ControlToValidate="txt_担当２メールアドレス" ValidationExpression="^[\w-\.]{1,}\@([\da-zA-Z-]{1,}(\.)){1,}[\da-zA-Z-]{2,6}$"
                            ErrorMessage="" SetFocusOnError="False" Display="none" />
                        <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender24"
                            TargetControlID="RegularExpressionValidatorEmail1" HighlightCssClass="invalid"
                            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="~/Images/warning.png" />
                    </div>
                    <%--<div class="detail-admin-row">
                    <span class="detail-admin-label">直通ＴＥＬ :</span>
                    <asp:TextBox ID="txt_担当２直通ＴＥＬ" runat="server" Width="150px" ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" MaxLength="13"></asp:TextBox>
                    <span class="required-field">*</span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator27" runat="server" ErrorMessage=""
                        ControlToValidate="txt_担当２直通ＴＥＬ" Display="None" SetFocusOnError="False"></asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender28" runat="server"
                        TargetControlID="RequiredFieldValidator27" HighlightCssClass = "invalid" CssClass="CustomValidatorCalloutStyle"
                        WarningIconImageUrl="../Images/warning.png">
                    </ajaxToolkit:ValidatorCalloutExtender>
                </div>--%>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">直通ＴＥＬ :</span>
                        <asp:TextBox ID="txt_担当２直通ＴＥＬ1" runat="server" ValidationGroup="detailForm" Width="37px"
                            CausesValidation="false" MaxLength="4" onkeypress="return InputNumberKeys(this, event)"
                            CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <span>-</span>
                        <asp:TextBox ID="txt_担当２直通ＴＥＬ2" onkeypress="return InputNumberKeys(this, event)"
                            runat="server" ValidationGroup="detailForm" Width="37px" CausesValidation="false"
                            MaxLength="4" CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <span>-</span>
                        <asp:TextBox ID="txt_担当２直通ＴＥＬ3" onkeypress="return InputNumberKeys(this, event)"
                            runat="server" ValidationGroup="detailForm" Width="37px" CausesValidation="false"
                            MaxLength="4" CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <span class="required-field"></span>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">&nbsp;</span> <span style="color: Red">06-1234-5678の形式に入力してください</span>
                    </div>
                    <%--<div class="detail-admin-row">
                    <span class="detail-admin-label">携帯ＴＥＬ :</span>
                    <asp:TextBox ID="txt_担当２携帯ＴＥＬ" runat="server" Width="150px" ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic"></asp:TextBox>
                    <span class="required-field"></span>
                </div>--%>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">携帯ＴＥＬ :</span>
                        <asp:TextBox ID="txt_担当２携帯ＴＥＬ1" runat="server" ValidationGroup="detailForm" Width="37px"
                            CausesValidation="false" MaxLength="4" onkeypress="return InputNumberKeys(this, event)"
                            CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <span>-</span>
                        <asp:TextBox ID="txt_担当２携帯ＴＥＬ2" onkeypress="return InputNumberKeys(this, event)"
                            runat="server" ValidationGroup="detailForm" Width="37px" CausesValidation="false"
                            MaxLength="4" CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                        <span>-</span>
                        <asp:TextBox ID="txt_担当２携帯ＴＥＬ3" onkeypress="return InputNumberKeys(this, event)"
                            runat="server" ValidationGroup="detailForm" Width="37px" CausesValidation="false"
                            MaxLength="4" CssClass="myclass" Style="ime-mode: disabled"></asp:TextBox>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">&nbsp;</span> <span style="color: Red">06-1234-5678の形式に入力してください</span>
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">就任年月日 :</span>
                        <asp:TextBox ID="txt_担当２就任年月日" runat="server" Width="150px" ValidationGroup="detailForm"
                            Font-Names="MS UI Gothic" Style="ime-mode: disabled" CssClass="myclass"></asp:TextBox>
                        <asp:ImageButton ID="imb_担当２就任年月日" runat="server" Height="19px" ValidationGroup="detailForm"
                            ImageUrl="~/Images/calendar.jpg" CausesValidation="False"></asp:ImageButton>
                        &nbsp;<ajaxToolkit:CalendarExtender ID="CalendarExtender4" runat="server" Format="yyyy/MM/dd"
                            TargetControlID="txt_担当２就任年月日" PopupButtonID="imb_担当２就任年月日">
                        </ajaxToolkit:CalendarExtender>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" ErrorMessage=""
                            Display="None" SetFocusOnError="False" ControlToValidate="txt_担当２就任年月日" ValidationExpression="^((((19|20)(([02468][048])|([13579][26]))[- /.]02[- /.]29))|((20[0-9][0-9])|(19[0-9][0-9]))[- /.]((((0[1-9])|(1[0-2]))[-  /.]((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))[- /.]31)|(((0[1,3-9])|(1[0-2]))[- /.](29|30)))))$"></asp:RegularExpressionValidator>
                        <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender30" runat="server"
                            TargetControlID="RegularExpressionValidator5" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                            WarningIconImageUrl="../Images/warning.png">
                        </ajaxToolkit:ValidatorCalloutExtender>
                        <asp:CustomValidator ID="CustomValidator4" runat="server" ErrorMessage="AAAAAA" ControlToValidate="txt_担当２就任年月日"
                            ClientValidationFunction="validatDate2" Display="None" SetFocusOnError="False"></asp:CustomValidator>
                        <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender14"
                            TargetControlID="CustomValidator4" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                            WarningIconImageUrl="../Images/warning.png" />
                    </div>
                    <div class="detail-admin-row">
                        <span class="detail-admin-label">コメント :</span>
                        <asp:TextBox ID="txt_担当２コメント" CssClass="textarea" runat="server" ValidationGroup="detailForm"
                            TextMode="MultiLine" onkeypress="return imposeMaxLength(this, 1000);" Font-Names="MS UI Gothic"
                            MaxLength="1000"></asp:TextBox>
                        <span class="required-field"></span>
                    </div>
                    <div class="headerLineAndGray">
                    </div>
                    <div>
                        &nbsp;</div>
                </asp:Panel>
                <div class="headerLineAndGray">
                    <span style="color: #FF5000; font-style: normal">その他</span>
                </div>
                <div>
                    &nbsp;</div>
                <div class="detail-admin-row">
                    <span class="detail-admin-label">ウェブサイト :</span>
                    <asp:TextBox ID="txt_ウェブサイト" runat="server" ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" style="ime-mode:disabled" MaxLength="100" CssClass="myclass enter validation textbox width3"></asp:TextBox>&nbsp;
                    <%--<span class="required-field"> *</span>--%><asp:RegularExpressionValidator ID="RegularExpressionValidator6URL"
                        runat="server" ControlToValidate="txt_ウェブサイト" ErrorMessage="RegularExpressionValidator"
                        Display="None" ValidationExpression="((http(s)?)?://)?([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?"></asp:RegularExpressionValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender26" runat="server" Width="260px"
                        TargetControlID="RegularExpressionValidator6URL" HighlightCssClass="invalid"
                        CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png">
                    </ajaxToolkit:ValidatorCalloutExtender>
                </div>
                <div id="div_外国の推薦機関" class="detail-admin-row" runat="server">
                    <span class="detail-admin-label">外国の推薦機関 :</span>
                    <asp:TextBox ID="txt_外国の推薦機関" runat="server" ValidationGroup="detailForm"
                        Font-Names="MS UI Gothic" MaxLength="100" CssClass="myclass enter validation textbox width3"></asp:TextBox>
                    <span class="required-field">*</span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator29" runat="server" ErrorMessage=""
                        Display="None" SetFocusOnError="False" ControlToValidate="txt_外国の推薦機関"></asp:RequiredFieldValidator>
                    <ajaxToolkit:ValidatorCalloutExtender ID="ValidatorCalloutExtender31" runat="server" Width="260px"
                        TargetControlID="RequiredFieldValidator29" HighlightCssClass="invalid" CssClass="CustomValidatorCalloutStyle"
                        WarningIconImageUrl="../Images/warning.png">
                    </ajaxToolkit:ValidatorCalloutExtender>
                </div>
                <div class="detail-admin-row">
                </div>
                <div class="detail-admin-row">
                    <span class="detail-admin-label">&nbsp;</span>
                    <asp:Button ID="btn_登録" runat="server" Text="確認" CssClass="btn" OnClick="btn_登録_Click"
                        OnClientClick="javascript:focusToControlErr();"></asp:Button>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btn_リセット" runat="server" Text="リセット" CssClass="btn" CausesValidation="False"
                        OnClick="btn_リセット_Click"></asp:Button>
                </div>
                <div class="detail-admin-row">
                    <div class="btn_back">
                        <asp:Button ID="btn_戻る" OnClick="btn_戻る_Click" runat="server" CssClass="btn" Text="←戻る"
                            CausesValidation="False" Enabled="false" Visible="False"></asp:Button>
                    </div>
                    <div class="btn_next btn_next_fixedforfrmJ_StaffEnterInpu">
                        <asp:Button ID="btn_次" OnClick="btn_次_Click" runat="server" CssClass="btn" Text="次→"
                            CausesValidation="False" Visible="false"></asp:Button>
                    </div>
                </div>
            </ContentTemplate>
            </asp:UpdatePanel>
            <div>
                &nbsp;</div>
            <br />
        </div>
    </div>
    
</asp:Content>
